home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 1997 November / Pcwk1197.iso / LOTUS / Eng-ins / SMASTERS / APPROACH / DB2WWW.MPR / SCRIPT / ApproachDoc / Web Background / Body / picGraytxtr.s (.txt) < prev    next >
Null Bytes Alternating  |  1997-01-09  |  2KB  |  27 lines

  1. '++LotusScript Development Environment:2:5:(Options):0:66
  2.  
  3. '++LotusScript Development Environment:2:5:(Forward):0:1
  4. Declare Sub Click(Source As Picture, X As Long, Y As Long, Flags As Long)
  5. Declare Sub NewWinTitle
  6.  
  7. '++LotusScript Development Environment:2:5:(Declarations):0:2
  8.  
  9. '++LotusScript Development Environment:2:2:BindEvents:1:129
  10. Private Sub BindEvents(Byval Objectname_ As String)
  11.     Static Source As PICTURE
  12.     Set Source = Bind(Objectname_)
  13.     On Event Click From Source Call Click
  14. End Sub
  15.  
  16. '++LotusScript Development Environment:2:2:Click:1:12
  17. Sub Click(Source As Picture, X As Long, Y As Long, Flags As Long)
  18.     GetWebTemplate(Source.name)
  19. End Sub
  20. '++LotusScript Development Environment:2:2:NewWinTitle:1:8
  21. Sub NewWinTitle
  22.     'Rename the window title for the dialogue so that it has the title we want instead of the apr file name
  23.     Dim activeWin As Integer, winTitle As String
  24.     activeWin% = GetActiveWindow()
  25.     winTitle$ = "Approach"
  26.     SetWindowTextA activeWin%, winTitle$
  27. End Sub